Skip to content

Conversation

tachyons
Copy link
Contributor

@tachyons tachyons commented Oct 31, 2018

Fixes #93

Checklist

  • I have made a material change to the repo (functionality, testing, spelling, grammar)
  • I have read the [Contribution Guide] and my PR follows them.
  • I updated my branch with the development branch.
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation about the functionality in the appropriate .md file
  • I have added in line documentation to the code I modified

Short description of what this PR does:

method _ mutates @url_path and it can have unintended side effects like #93. This PR remove that mutation

@thinkingserious thinkingserious added the status: code review request requesting a community code review or review from Twilio label Oct 31, 2018
@SendGridDX
Copy link

SendGridDX commented Oct 31, 2018

CLA assistant check
All committers have signed the CLA.

@thinkingserious thinkingserious merged commit 37fb694 into sendgrid:master Dec 8, 2018
@thinkingserious
Copy link
Contributor

Hello @tachyons,

Thanks again for the PR!

We appreciate your contribution and look forward to continued collaboration. Thanks!

Team SendGrid DX

@thinkingserious thinkingserious changed the title Avoid mutating @url_path to avoid unexpected side effects fix: Avoid mutating @url_path to avoid unexpected side effects Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: medium fix is medium in difficulty status: code review request requesting a community code review or review from Twilio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Client instance clobbers internal state
3 participants